<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>使用hivideo插件播放视频</title>
    <link type="text/css" rel="stylesheet" href="/hivideo/hivideo.css" th:href="@{/hivideo/hivideo.css}"/>
    <style type="text/css">
        .main-wrap {
            margin: 0 auto;
            max-width: 640px;
            min-width: 320px;
        }

        .main-wrap video {
            width: 100%;
        }
    </style>
</head>
<body>
<h1>使用hivideo.js播放：参考https://blog.csdn.net/zhouzuoluo/article/details/94575952</h1>
<div class="main-wrap">
    <video ishivideo="true" autoplay="true" isrotate="false" autoHide="true">
        <source src="http://127.0.0.1:19000/bucket-test/test.mp4" type="video/mp4">
    </video>
</div>

<script type="text/javascript" src="/js/jquery.js" th:src="@{/js/jquery.js}"></script>
<script type="text/javascript" src="/hivideo/hivideo.js" th:src="@{/hivideo/hivideo.js}"></script>
<script type="text/javascript" th:inline="javascript">

</script>
</body>
</html>

